package com.example.victory.swagger.model;

import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.validation.annotation.Validated;

/**
 * 签约到期请求对象
 */
@ApiModel(description = "签约到期请求对象")
@Validated
@javax.annotation.Generated(value = "io.swagger.codegen.languages.SpringCodegen", date = "2021-04-26T10:50:39.083+08:00")

public class ApiRequestContractExpireData   {
  @JsonProperty("pageSize")
  private Integer pageSize = null;

  @JsonProperty("index")
  private Integer index = null;

  @JsonProperty("searchKey")
  private String searchKey = null;

  @JsonProperty("custLevelSearch")
  private Integer custLevelSearch = null;

  @JsonProperty("contractPatternSearch")
  private Integer contractPatternSearch = null;

  @JsonProperty("chargePatternSearch")
  private Integer chargePatternSearch = null;

  @JsonProperty("dateRange")
  private Integer dateRange = null;

  public ApiRequestContractExpireData pageSize(Integer pageSize) {
    this.pageSize = pageSize;
    return this;
  }

  /**
   * 分页查询的一页记录数，默认为20
   * @return pageSize
  **/
  @ApiModelProperty(example = "20", value = "分页查询的一页记录数，默认为20")


  public Integer getPageSize() {
    return pageSize;
  }

  public void setPageSize(Integer pageSize) {
    this.pageSize = pageSize;
  }

  public ApiRequestContractExpireData index(Integer index) {
    this.index = index;
    return this;
  }

  /**
   * 页码数，第一页为0
   * @return index
  **/
  @ApiModelProperty(example = "1", value = "页码数，第一页为0")


  public Integer getIndex() {
    return index;
  }

  public void setIndex(Integer index) {
    this.index = index;
  }

  public ApiRequestContractExpireData searchKey(String searchKey) {
    this.searchKey = searchKey;
    return this;
  }

  /**
   * 搜索关键字
   * @return searchKey
  **/
  @ApiModelProperty(example = "123456", value = "搜索关键字")


  public String getSearchKey() {
    return searchKey;
  }

  public void setSearchKey(String searchKey) {
    this.searchKey = searchKey;
  }

  public ApiRequestContractExpireData custLevelSearch(Integer custLevelSearch) {
    this.custLevelSearch = custLevelSearch;
    return this;
  }

  /**
   * 客户级别：1一级，2二级，3三级，4四级，5五级
   * @return custLevelSearch
  **/
  @ApiModelProperty(example = "1", value = "客户级别：1一级，2二级，3三级，4四级，5五级")


  public Integer getCustLevelSearch() {
    return custLevelSearch;
  }

  public void setCustLevelSearch(Integer custLevelSearch) {
    this.custLevelSearch = custLevelSearch;
  }

  public ApiRequestContractExpireData contractPatternSearch(Integer contractPatternSearch) {
    this.contractPatternSearch = contractPatternSearch;
    return this;
  }

  /**
   * 签约模式：1签约投顾  3签约产品
   * @return contractPatternSearch
  **/
  @ApiModelProperty(example = "10", value = "签约模式：1签约投顾  3签约产品")


  public Integer getContractPatternSearch() {
    return contractPatternSearch;
  }

  public void setContractPatternSearch(Integer contractPatternSearch) {
    this.contractPatternSearch = contractPatternSearch;
  }

  public ApiRequestContractExpireData chargePatternSearch(Integer chargePatternSearch) {
    this.chargePatternSearch = chargePatternSearch;
    return this;
  }

  /**
   * 收费模式： 1免费 2账户管理费 3差额佣金费率 4定额收费 5银行卡扣费
   * @return chargePatternSearch
  **/
  @ApiModelProperty(example = "10", value = "收费模式： 1免费 2账户管理费 3差额佣金费率 4定额收费 5银行卡扣费")


  public Integer getChargePatternSearch() {
    return chargePatternSearch;
  }

  public void setChargePatternSearch(Integer chargePatternSearch) {
    this.chargePatternSearch = chargePatternSearch;
  }

  public ApiRequestContractExpireData dateRange(Integer dateRange) {
    this.dateRange = dateRange;
    return this;
  }

  /**
   * 日期范围：1：一个月内；2：两个月内；3：三个月内；
   * @return dateRange
  **/
  @ApiModelProperty(example = "1", value = "日期范围：1：一个月内；2：两个月内；3：三个月内；")


  public Integer getDateRange() {
    return dateRange;
  }

  public void setDateRange(Integer dateRange) {
    this.dateRange = dateRange;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ApiRequestContractExpireData apiRequestContractExpireData = (ApiRequestContractExpireData) o;
    return Objects.equals(this.pageSize, apiRequestContractExpireData.pageSize) &&
        Objects.equals(this.index, apiRequestContractExpireData.index) &&
        Objects.equals(this.searchKey, apiRequestContractExpireData.searchKey) &&
        Objects.equals(this.custLevelSearch, apiRequestContractExpireData.custLevelSearch) &&
        Objects.equals(this.contractPatternSearch, apiRequestContractExpireData.contractPatternSearch) &&
        Objects.equals(this.chargePatternSearch, apiRequestContractExpireData.chargePatternSearch) &&
        Objects.equals(this.dateRange, apiRequestContractExpireData.dateRange);
  }

  @Override
  public int hashCode() {
    return Objects.hash(pageSize, index, searchKey, custLevelSearch, contractPatternSearch, chargePatternSearch, dateRange);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ApiRequestContractExpireData {\n");
    
    sb.append("    pageSize: ").append(toIndentedString(pageSize)).append("\n");
    sb.append("    index: ").append(toIndentedString(index)).append("\n");
    sb.append("    searchKey: ").append(toIndentedString(searchKey)).append("\n");
    sb.append("    custLevelSearch: ").append(toIndentedString(custLevelSearch)).append("\n");
    sb.append("    contractPatternSearch: ").append(toIndentedString(contractPatternSearch)).append("\n");
    sb.append("    chargePatternSearch: ").append(toIndentedString(chargePatternSearch)).append("\n");
    sb.append("    dateRange: ").append(toIndentedString(dateRange)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}

